package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "热门活动")
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatHotActivityFeign {

    /**
     * 热门活动
     * @param start
     * @param pageSize
     * @return
     */
    @ApiOperation("热门活动")
    @PostMapping("/wechat/hotactivitymgr/ajaxhotactivity")
    String ajaxHotActivity(@RequestParam("jsonObject")JSONObject jsonObject, @RequestParam("start") Integer start, @RequestParam("pageSize") Integer pageSize);
}
